package com.p2p.common.enums;

/**
 * Created by Allen on 2017/3/17.
 */
public enum PermissionTypeEnum {
    ONEMENU(1, "一级菜单"),
    TOWMENU(2, "二级菜单"),
    THREEMENU(2, "三级菜单"),
    OPERATION(4, "操作功能");

    private int code;
    private String name;

    PermissionTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
